﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace miniQQ_Template.Commands
{
    ///<summary>指令基类</summary>
    internal abstract class CommandBase
    {
        ///<summary>指令名称</summary>
        internal abstract string CommandString { get; }
        ///<summary>指令描述</summary>
        internal abstract string Description { get; }
        /// <summary>
        /// 触发
        /// </summary>
        /// <param name="MsgType">消息类型</param>
        /// <param name="MsgFrom">消息来源（有可能是群号，也有可能是QQ号）</param>
        /// <param name="TigFrom">触发者（群里面就是发了消息的人）</param>
        /// <param name="Msg">消息内容</param>
        internal abstract void Execute(string RobotQQ,int MsgType,string MsgFrom,string TigFrom,string Msg);
    }
}
